<template>
	<view>
		<IconCard
			icon="/static/icons/icon_message.png"
			title="请假申请单"
			subTitle="(2024-05-11 09:00:00)"
			count="1" 
			type="left"
			text1="发送人：李思阳"
			text2="2023年12月4日"
			@click="toDoDetail"
		/>
		<IconCard
			icon="/static/icons/icon_message.png"
			title="请假申请单"
			subTitle="(2024-05-11 09:00:00)"
			count="2" 
			type="left"
			text1="发送人：李思阳"
			text2="5月9日"
		/>
		<IconCard
			title="请假申请单"
			subTitle="(2024-05-11 09:00:00)"
			count="3" 
			type="left"
			text1="发送人：李思阳"
			text2="17:42"
		/>
	</view>
</template>

<script>
	import IconCard from '@/components/iconCard/index.vue'
	export default {
		components: {
			IconCard
		},
		data() {
			return {
				
			}
		},
		methods: {
			toDoDetail(id) {
				uni.navigateTo({
					url: '/pages/myTodoDetail/myTodoDetail?id=' + id || 1
				})
			}
		}
	}
</script>

<style>

</style>
